package animal;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-06-26
 * Time: 22:14
 */
public class Animal {
    public int age;
    public String name;

    protected/* 不能被private,static,final 修饰*/ void eat() {
        System.out.println(name + "正在吃东西");
    }


}
